-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure to clear focus of any widgets contained by an Expander #74
base: dev
Are you sure you want to change the base?
Conversation
…void visual artifarcts
Quality Gate passedIssues Measures |
Is it the only way? It seems a bit hacky, especially if the focus policy changes (for whatever reason) between the two states. |
I'm not sure, but I do agree it's a little bit hacky. If there's another way I'm definitely open for it, but for now I don't really know. |
I have a much better and cleaner way with a recursive Could you update your PR?
|
…der to avoid visual artifarcts" This reverts commit bb7ef72.
Quality Gate passedIssues Measures |
Thank you, that is a lot cleaner indeed! I have updated my PR :) |
When an Expander contains widget that can be focused, a visual glitch appears when hiding the contents of the Expander. This PR fixes the issue by clearing the focus of any children widgets when the contents are invisible. See the following screenshot for how the visual glitch looks like: